﻿[[title="用户信息",pagesize="20",orderby="",condition=""]]
<script language="javascript" type="text/javascript">
    function userSave() {
        wmsCommon.saveMethod(null, false);
    }
</script>
<table class="DisplayArea" cellpadding="0" cellspacing="0" align="center" style="width: 100%;
    height: 100%">
    <tr>
        <td class="headmiddle" style="height: 26px">
            <span id="LableTitle2">修改用户信息</span>
        </td>
    </tr>
    <tr>
        <td style="padding: 10; vertical-align: text-top;">
            <!--edit content start-->
            <table class="singleEdit" cellpadding="0" cellspacing="0">            
                <tr>                 
                    <td class="tblEditPrompt">
                        $userInfo.Columns.get_Item("displayName").DisplayName
                    </td>
                    <td class='tblEditText'>
                        $userInfo.Rows.get_Item(0).get_Item("displayName").Render()
                    </td>
                       <td class="tblEditPrompt">
                        $userInfo.Columns.get_Item("email").DisplayName
                    </td>
                    <td class='tblEditText'>
                        $userInfo.Rows.get_Item(0).get_Item("email").Render()
                    </td>
                </tr>                 
                <tr>
                    <td class="tblEditPrompt">
                        $userInfo.Columns.get_Item("phoneNum").DisplayName
                    </td>
                    <td class='tblEditText'>
                        $userInfo.Rows.get_Item(0).get_Item("phoneNum").Render()
                    </td>
                    <td class="tblEditPrompt">
                        $userInfo.Columns.get_Item("MobilePhone").DisplayName
                    </td>
                    <td class='tblEditText'>
                        $userInfo.Rows.get_Item(0).get_Item("MobilePhone").Render()
                    </td>
                </tr>

                <tr>
                    <td class="tblEditPrompt">
                        $userInfo.Columns.get_Item("passwordOld").DisplayName
                    </td>
                    <td class='tblEditText'>
                        $userInfo.Rows.get_Item(0).get_Item("passwordOld").Render("onblur=wmsCommon.checkOldPassword(this);")
                    </td>
                    <td class="tblEditPrompt">
                        $userInfo.Columns.get_Item("passwordNew").DisplayName
                    </td>
                    <td class='tblEditText'>
                        $userInfo.Rows.get_Item(0).get_Item("passwordNew").Render("onblur=wmsCommon.setpassValue(this);")
                    </td>
                </tr>
                <tr style="display: none;">               
                    <td class='tblEditText' style="display: none;">
                             $userInfo.Rows.get_Item(0).get_Item("password").Render()
                              $userInfo.Rows.get_Item(0).get_Item("userNo").Render()
                    </td>
                </tr>
            </table>
            <!-- edit content end-->
        </td>
    </tr>
    <tr style="height: 20px;">
        <td colspan="4" valign="middle" style="text-align: center; height: 20px;">
            <div style="height: 20px; background-color: rgb(233, 231, 215);">
                $render.RenderButton(" text=保存; displayType=button ; actionType=save; clientMethod=submitValidatePage();serverMethod=userSave();")
                $render.RenderButton(" text=关闭; displayType=button ; actionType=close; clientMethod=wmsCommon.closeWin();")
            </div>
        </td>
    </tr>
</table>
